package com.pengtu.gsj.service.impl.zxgc;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pengtu.gsj.dao.base.QueryFilter;
import com.pengtu.gsj.dao.zxgc.ProjectDataDao;
import com.pengtu.gsj.entity.zxgc.ProjectData;
import com.pengtu.gsj.service.zxgc.ProjectDataService;

@Service
@Transactional
public class ProjectDataServiceImpl implements ProjectDataService {
	
	@Autowired
	private ProjectDataDao projectDataDao;

	@Override
	public ProjectData getProjectData(String id) {
		return projectDataDao.get(id);
	}

	@Override
	public List<ProjectData> getProjectDatas(QueryFilter queryFilter) {
		return projectDataDao.find(queryFilter);
	}

	@Override
	public void saveProjectData(ProjectData projectData) {
		projectDataDao.save(projectData);
	}

}
